export const countriesData = [
  { name: "中国", code: "+86" },
  { name: "马来西亚", code: "+60" },
  { name: "美国", code: "+001" },
  { name: "英国", code: "+44" },
  { name: "韩国", code: "+82" },
  { name: "泰国", code: "+66" },
  { name: "新加坡", code: "+65" },
  { name: "印度", code: "+91" },
  { name: "日本", code: "+81" },
  { name: "澳大利亚", code: "+61" },
  { name: "加拿大", code: "+1" },
  { name: "德国", code: "+49" },
  { name: "法国", code: "+33" },
  { name: "意大利", code: "+39" },
  { name: "西班牙", code: "+34" },
  { name: "俄罗斯", code: "+7" },
  { name: "巴西", code: "+55" },
  { name: "墨西哥", code: "+52" },
  { name: "阿根廷", code: "+54" },
  { name: "智利", code: "+56" },
  { name: "哥伦比亚", code: "+57" },
  { name: "秘鲁", code: "+51" },
  { name: "委内瑞拉", code: "+58" },
  { name: "乌拉圭", code: "+598" },
  { name: "巴拉圭", code: "+595" },
  { name: "玻利维亚", code: "+591" },
  { name: "厄瓜多尔", code: "+593" },
  { name: "苏里南", code: "+597" },
  { name: "圭亚那", code: "+592" },
  { name: "法属圭亚那", code: "+594" },
];

export const sexData = [
  { name: "男", value: 1 },
  { name: "女", value: 2 },
];

export const currencyListData = [
  { currency_type: 0, icon: "/static/coins/trx_usdt.svg", name: "TRX_USDT" },
  { currency_type: 1, icon: "/static/coins/sol_usdt.svg", name: "SOL_USDT" },
  { currency_type: 2, icon: "/static/coins/kkc.svg", name: "KKC" },
  { currency_type: 3, icon: "/static/coins/eth.svg", name: "ETH" },
  { currency_type: 4, icon: "/static/coins/eth_usdt.svg", name: "ETH_USDT" },
  { currency_type: 5, icon: "/static/coins/btc.svg", name: "BTC" },
  { currency_type: 6, icon: "/static/coins/trx.svg", name: "TRX" },
  { currency_type: 7, icon: "/static/coins/sol.svg", name: "SOL" },
  { currency_type: 8, icon: "/static/coins/bnb.svg", name: "BNB" },
  { currency_type: 9, icon: "/static/coins/bnb_usdt.svg", name: "BNB_USDT" },
];

// 币种类型
export const currencyTypeList = new Map([
  ["TRX_USDT", 0],
  ["SOL_USDT", 1],
  ["KC_KKC", 2],
  ["ETH_ETH", 3],
  ["ETH_USDT", 4],
  ["BTC_BTC", 5],
  ["TRX_TRX", 6],
  ["SOL_SOL", 7],
  ["BNB_BNB", 8],
  ["BNB_USDT", 9],
]);

// 币种图标
export const currencyIconSvgMap = new Map([
  [0, "/static/coins/trx_usdt.svg"],
  [1, "/static/coins/sol_usdt.svg"],
  [2, "/static/coins/kkc.svg"],
  [3, "/static/coins/eth.svg"],
  [4, "/static/coins/eth_usdt.svg"],
  [5, "/static/coins/btc.svg"],
  [6, "/static/coins/trx.svg"],
  [7, "/static/coins/sol.svg"],
  [8, "/static/coins/bnb.svg"],
  [9, "/static/coins/bnb_usdt.svg"],
]);

export const currencyName = new Map([
  [0, "TRX_USDT"],
  [1, "SOL_USDT"],
  [2, "KKC"],
  [3, "ETH"],
  [4, "ETH_USDT"],
  [5, "BTC"],
  [6, "TRX"],
  [7, "SOL"],
  [8, "BNB"],
  [9, "BNB_USDT"],
]);

//完整币种名称
export const currencyNameFullMap = new Map([
  [0, "TRX_USDT"],
  [1, "SOL_USDT"],
  [2, "KC_KKC"],
  [3, "ETH_ETH"],
  [4, "ETH_USDT"],
  [5, "BTC_BTC"],
  [6, "TRX_TRX"],
  [7, "SOL_SOL"],
  [8, "BNB_BNB"],
  [9, "BNB_USDT"],
]);

//1支付中 2成功 3取消 4 订单异常 5 支付失败
export const payStatus = new Map([
  [1, "支付中"],
  [2, "成功"],
  [3, "取消"],
  [4, "订单异常"],
  [5, "支付失败"],
]);

//货币符号
export const currencySymbol = new Map([
  ["cny", "¥"],
  ["vnd", "₫"],
]);

//货币符号图标
export const currencySymbolIconMap = new Map([
  ["cny", "/static/coins/cny.svg"],
  ["vnd", "/static/coins/vnd.svg"],
]);

//货币名字
export const currencySymbolNameMap = new Map([
  ["cny", "CNY"],
  ["vnd", "VND"],
]);

// 支付方式
export const paymentMethodsMap = new Map([
  [1, "数字银行"],
  [2, "银联"],
  [3, "支付宝"],
  [4, "微信"],
  [5, "越南银行卡转卡"],
  [6, "momo"],
  [7, "zalopay"],
  [8, "viettelpay"],
  [9, "越南银行卡扫码"],
]);

// 支付方式图标
export const paymentMethodIconsMap = new Map([
  [1, "/static/payIcon/digitalBank.svg"],
  [2, "/static/payIcon/unionpay.svg"],
  [3, "/static/payIcon/alipay.svg"],
  [4, "/static/payIcon/wechat.svg"],
  [5, "/static/payIcon/cardToCard.svg"],
  [6, "/static/payIcon/momo.svg"],
  [7, "/static/payIcon/zalopay.svg"],
  [8, "/static/payIcon/viettelpay.svg"],
  [9, "/static/payIcon/card.svg"],
]);
export const paymentMethodNamesMap = new Map([
  [1, "银行卡"],
  [2, "银联"],
  [3, "支付宝"],
  [4, "微信"],
  [5, "银行卡转账"],
  [6, "Momo"],
  [7, "ZaloPay"],
  [8, "ViettelPay"],
  [9, "银行卡"],
]);
// 支付方式名称（中文）
export const paymentMethodNames = [
  { id: 1, name: "数字银行" },
  { id: 2, name: "银联" },
  { id: 3, name: "支付宝" },
  { id: 4, name: "微信" },
  { id: 5, name: "越南银行卡转卡" },
  { id: 6, name: "momo" },
  { id: 7, name: "zalopay" },
  { id: 8, name: "viettelpay" },
  { id: 9, name: "越南银行卡扫码" },
];

export const priceMap = {
  BNB: {
    cny: 5986.17,
    usd: 833.29,
    vnd: 21940457,
  },
  BNB_USDT: {
    cny: 7.18,
    usd: 0.999594,
    vnd: 26319,
  },
  BTC: {
    cny: 815511,
    usd: 113521,
    vnd: 2989002564,
  },
  ETH: {
    cny: 29998,
    usd: 4175.78,
    vnd: 109948197,
  },
  ETH_USDT: {
    cny: 7.18,
    usd: 0.999594,
    vnd: 26319,
  },
  KKC: {
    cny: 1,
    usd: 0.1392757660167131,
    vnd: 3665.598885793872,
  },
  KC_KKV: {
    cny: 0.0002728067175804552,
    usd: 0.000037995364565523004,
    vnd: 1,
  },
  SOL: {
    cny: 1297.64,
    usd: 180.63,
    vnd: 4756103,
  },
  SOL_USDT: {
    cny: 7.18,
    usd: 0.999594,
    vnd: 26319,
  },
  TRX: {
    cny: 2.51,
    usd: 0.349436,
    vnd: 9200.65,
  },
  TRX_USDT: {
    cny: 7.18,
    usd: 0.999594,
    vnd: 26319,
  },
};

export const paymentMethodNameMap = new Map([
  ["wechat", "微信"],
  ["alipay", "支付宝"],
  ["unionpay", "银联"],
  ["digitalBank", "数字银行"],
  ["cardToCard", "越南银行卡转卡"],
  ["bank", "银行卡"],
]);

export const paymentMethodNameIconMap = new Map([
  ["bank", "/static/payIcon/card.svg"],
  ["alipay", "/static/payIcon/alipay.svg"],
  ["wechat", "/static/payIcon/wechat.svg"],
]);

// 1 银行卡 2 支付宝 3 微信
export const paymentMethodMap = new Map([
  [1, "银行卡"],
  [2, "支付宝"],
  [3, "微信"],
]);

export const paymentMethodIconMap = new Map([
  [1, "/static/payIcon/card.svg"],
  [2, "/static/payIcon/alipay.svg"],
  [3, "/static/payIcon/wechat.svg"],
]);

//pending|待付款 close|关闭 paid|已付 escrow|待放行 complete|完成
export const orderStatusMap = new Map([
  ["pending", "待付款"],
  ["close", "关闭"],
  ["paid", "已付"],
  ["escrow", "待放行"],
  ["complete", "完成"],
]);

//pending|待付款 close|关闭 paid|已付 escrow|待放行 complete|完成
export const statusColorMap = new Map([
  ["pending", "#f0ad4e"],
  ["close", "#999999"],
  ["paid", "#28CB61"],
  ["escrow", "#f0ad4e"],
  ["complete", "#28CB61"],
]);

export const ctcOrderStateMap = new Map([
  ["pending", "待成交"],
  ["unpaid", "待付款"],
  ["close", "关闭"],
  ["paid", "已付"],
  ["complete", "完成"],
]);

export const ctcOrderSellStateMap = new Map([
  ["pending", "待成交"],
  ["unpaid", "待付款"],
  ["close", "关闭"],
  ["paid", "待放币"],
  ["complete", "完成"],
]);

export const ctcOrderStateColorMap = new Map([
  ["pending", "#f0ad4e"],
  ["unpaid", "#f0ad4e"],
  ["close", "#999999"],
  ["paid", "#28CB61"],
  ["complete", "#28CB61"],
]);
